package net.suncaper.demo.service;
import net.suncaper.demo.domain.Hotel;
import net.suncaper.demo.domain.Region;
import net.suncaper.demo.domain.RoomType;

import java.util.List;

public interface HotelService {
    List<Hotel> allHotel();
    Long selectByCityName(String city);

    List<Hotel>selectHotelFromCity(Long cityID);

    List<Hotel>selectByInput1(Long cityID,String key,String time,int roomnum);

    List<Hotel>selectByInput2(Long cityID, String key, String time, double pricelow, double pricehigh, double score, int star,int roomnum);

    Hotel selectByID(Long cityID, Long hotelID);

}
